﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MetadataBasedConfigArch.Framework.Entity;

namespace MetadataBasedConfigArch.Framework.Model
{
    public interface IConfigMetaConfigInfoProperty : IKeyEntity<Int64>,IStaticConstrainable
    { 
        String Key { get; set; }

        String Value { get; set; }

        IConfigMetaConfigInfo ConfigInfoInst { get;  }

        //ITenant TenantInst { get;}

        bool ValidateConfigData(IConfigMetaConfigData configData);

        bool ValidateCanBeAssignableFrom(Object value);
    }
}
